[INFO] cloning repository https://github.com/zhboner/realm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhboner/realm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhboner%2Frealm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhboner%2Frealm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f3803d6eb986449a83e44c3cd03a21f05d60ec44
[INFO] fixing zhboner/realm against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhboner%2Frealm" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/zhboner/realm
[INFO] finished tweaking git repo https://github.com/zhboner/realm
[INFO] tweaked toml for git repo https://github.com/zhboner/realm written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zhboner/realm on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/zhboner/realm already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 961bdfb2bc940aa291f2459509e3339fa8e6369caf584ba44c7faf7835bd594d
[INFO] running `Command { std: "docker" "start" "961bdfb2bc940aa291f2459509e3339fa8e6369caf584ba44c7faf7835bd594d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "961bdfb2bc940aa291f2459509e3339fa8e6369caf584ba44c7faf7835bd594d" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "961bdfb2bc940aa291f2459509e3339fa8e6369caf584ba44c7faf7835bd594d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "961bdfb2bc940aa291f2459509e3339fa8e6369caf584ba44c7faf7835bd594d" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating realm_io/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating realm_lb/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating realm_core/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating realm_hook/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating realm_syscall/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling portable-atomic v1.13.1
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]     Checking pin-project-lite v0.2.17
[INFO] [stderr]    Compiling libloading v0.8.9
[INFO] [stderr]    Compiling bindgen v0.72.1
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling rustc-hash v2.1.2
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling libm v0.2.16
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling cc v1.2.62
[INFO] [stderr]     Checking critical-section v1.2.0
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]     Checking once_cell v1.21.4
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]     Checking rand_core v0.10.1
[INFO] [stderr]     Checking bytes v1.11.1
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]     Checking litemap v0.8.2
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]     Checking writeable v0.6.3
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]     Checking utf8_iter v1.0.4
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]     Checking zeroize v1.8.2
[INFO] [stderr]    Compiling aws-lc-rs v1.17.0
[INFO] [stderr]     Checking cpufeatures v0.3.0
[INFO] [stderr]     Checking rustls-pki-types v1.14.1
[INFO] [stderr]     Checking typenum v1.20.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking chacha20 v0.10.0
[INFO] [stderr]     Checking futures-core v0.3.32
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking untrusted v0.7.1
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]     Checking rand v0.10.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking futures-io v0.3.32
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]     Checking futures-task v0.3.32
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]     Checking deranged v0.5.8
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]     Checking const-oid v0.10.2
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]     Checking hybrid-array v0.4.12
[INFO] [stderr]     Checking time-core v0.1.8
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling doc-comment v0.3.4
[INFO] [stderr]     Checking num-conv v0.2.2
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]     Checking anstyle-parse v1.0.0
[INFO] [stderr]     Checking block-buffer v0.12.0
[INFO] [stderr]     Checking crypto-common v0.2.2
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking tinyvec v1.11.0
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]     Checking daemonize v0.5.0
[INFO] [stderr]     Checking colorchoice v1.0.5
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.2
[INFO] [stderr]     Checking data-encoding v2.11.0
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]     Checking anstyle v1.0.14
[INFO] [stderr]     Checking digest v0.11.3
[INFO] [stderr]     Checking anstyle-query v1.1.5
[INFO] [stderr]     Checking yasna v0.6.0
[INFO] [stderr]     Checking sha1 v0.11.0
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking anstream v1.0.0
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking uuid v1.23.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]     Checking zerofrom v0.1.8
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking equivalent v1.0.2
[INFO] [stderr]     Checking tagptr v0.2.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.13
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking moka v0.12.15
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]    Compiling snafu-derive v0.6.10
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]     Checking webpki-roots v1.0.7
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking lightws v0.6.14
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking resolv-conf v0.7.6
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking realm_io v0.5.4
[INFO] [stderr]     Checking ipnet v2.12.0
[INFO] [stderr]     Checking pin-project v1.1.13
[INFO] [stderr]     Checking realm_syscall v0.1.11
[INFO] [stderr]     Checking realm_lb v0.1.0
[INFO] [stderr]     Checking snafu v0.6.10
[INFO] [stderr]     Checking jiff v0.2.24
[INFO] [stderr]     Checking proxy-protocol v0.5.0
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking prefix-trie v0.8.4
[INFO] [stderr]     Checking winnow v1.0.3
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]     Checking clap_lex v1.1.0
[INFO] [stderr]     Checking toml_parser v1.1.2+spec-1.1.0
[INFO] [stderr]     Checking clap_builder v4.6.0
[INFO] [stderr]     Checking serde_spanned v1.1.1
[INFO] [stderr]     Checking toml_datetime v1.1.1+spec-1.1.0
[INFO] [stderr]     Checking iana-time-zone v0.1.65
[INFO] [stderr]     Checking itoa v1.0.18
[INFO] [stderr]     Checking toml_writer v1.1.1+spec-1.1.0
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking hickory-proto v0.26.1
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]     Checking toml v1.1.2+spec-1.1.0
[INFO] [stderr]     Checking fern v0.7.1
[INFO] [stderr]     Checking easy-cast v0.4.4
[INFO] [stderr]     Checking libloading v0.9.0
[INFO] [stderr]     Checking float-ord v0.3.2
[INFO] [stderr]     Checking realm_hook v0.1.5 (/opt/rustwide/workdir/realm_hook)
[INFO] [stderr]    Compiling aws-lc-sys v0.41.0
[INFO] [stderr]    Migrating realm_hook/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed realm_hook/src/lib.rs (3 fixes)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> realm_hook/src/pre_conn.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 |     unsafe { DYLIB.set(Library::new(path).unwrap()).unwrap() }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]  8 + static DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> realm_hook/src/pre_conn.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unsafe { DYLIB.get().is_some() }
[INFO] [stdout]    |              ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]  8 + static DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> realm_hook/src/pre_conn.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 |     call_ffi!(DYLIB, b"realm_first_pkt_len" => unsafe extern "C" fn() -> u32)
[INFO] [stdout]    |               ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]  8 + static DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking realm_io v0.5.4 (/opt/rustwide/workdir/realm_io)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> realm_hook/src/pre_conn.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         DYLIB, b"realm_decide_remote_idx" => unsafe extern "C" fn(i32, *const u8) -> i32,
[INFO] [stdout]    |         ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]  8 + static DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> realm_hook/src/pre_conn.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 |     unsafe { DYLIB.set(Library::new(path).unwrap()).unwrap() }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]  8 + static DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating realm_io/src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> realm_hook/src/pre_conn.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unsafe { DYLIB.get().is_some() }
[INFO] [stdout]    |              ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]  8 + static DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> realm_hook/src/pre_conn.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 |     call_ffi!(DYLIB, b"realm_first_pkt_len" => unsafe extern "C" fn() -> u32)
[INFO] [stdout]    |               ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]  8 + static DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> realm_hook/src/pre_conn.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         DYLIB, b"realm_decide_remote_idx" => unsafe extern "C" fn(i32, *const u8) -> i32,
[INFO] [stdout]    |         ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]  8 + static DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking average v0.13.1
[INFO] [stderr]        Fixed realm_io/src/linux/mmsg.rs (2 fixes)
[INFO] [stderr]     Checking realm_syscall v0.1.11 (/opt/rustwide/workdir/realm_syscall)
[INFO] [stderr]     Checking clap v4.6.1
[INFO] [stderr]     Checking realm_lb v0.1.0 (/opt/rustwide/workdir/realm_lb)
[INFO] [stderr]    Migrating realm_syscall/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating realm_lb/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]     Checking hickory-net v0.26.1
[INFO] [stderr]     Checking env_filter v1.0.1
[INFO] [stderr]        Fixed realm_lb/src/ip_hash.rs (10 fixes)
[INFO] [stderr]     Checking env_logger v0.11.10
[INFO] [stderr]     Checking hickory-resolver v0.26.1
[INFO] [stderr]     Checking rustls-webpki v0.103.13
[INFO] [stderr]     Checking rcgen v0.14.8
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking kaminari v0.14.0
[INFO] [stderr]     Checking realm_core v0.5.1 (/opt/rustwide/workdir/realm_core)
[INFO] [stderr]    Migrating realm_core/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed realm_core/src/tcp/transport.rs (2 fixes)
[INFO] [stderr]        Fixed realm_core/src/tcp/proxy.rs (2 fixes)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> realm_core/src/tcp/transport.rs:59:51
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let (mut src, mut dst) = try_join!(ac.accept(src, &mut buf1), cc.connect(dst, &mut buf2))?;
[INFO] [stdout]    |          -------  -------
[INFO] [stdout]    |          |        |
[INFO] [stdout]    |          |        `dst` calls a custom destructor
[INFO] [stdout]    |          |        `dst` will be dropped later as of Edition 2024
[INFO] [stdout]    |          `src` calls a custom destructor
[INFO] [stdout]    |          `src` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 59 |     bidi_copy_buf(&mut src, &mut dst, buf1, buf2).await.map(|_| ())
[INFO] [stdout]    |                                                   ^^^^^
[INFO] [stdout]    |                                                   |
[INFO] [stdout]    |                                                   this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |                                                   up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 60 | }
[INFO] [stdout]    | - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> realm_core/src/dns/mod.rs:53:43
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let DnsConf { conf, opts } = unsafe { DNS_CONF.take().unwrap() };
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 48 - static mut DNS_CONF: OnceCell<DnsConf> = OnceCell::new();
[INFO] [stdout] 48 + static DNS_CONF: OnceCell<DnsConf> = OnceCell::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> realm_core/src/dns/mod.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         DNS_CONF.set(dns_conf).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 48 - static mut DNS_CONF: OnceCell<DnsConf> = OnceCell::new();
[INFO] [stdout] 48 + static DNS_CONF: OnceCell<DnsConf> = OnceCell::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> realm_core/src/dns/mod.rs:94:14
[INFO] [stdout]    |
[INFO] [stdout] 94 |     unsafe { DNS.lookup_ip(ip).await.map_or_else(|e| Err(Error::other(e)), Ok) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 50 - static mut DNS: Lazy<TokioResolver> = Lazy::new(|| {
[INFO] [stdout] 50 + static DNS: Lazy<TokioResolver> = Lazy::new(|| {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> realm_core/src/tcp/transport.rs:59:51
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let (mut src, mut dst) = try_join!(ac.accept(src, &mut buf1), cc.connect(dst, &mut buf2))?;
[INFO] [stdout]    |          -------  -------
[INFO] [stdout]    |          |        |
[INFO] [stdout]    |          |        `dst` calls a custom destructor
[INFO] [stdout]    |          |        `dst` will be dropped later as of Edition 2024
[INFO] [stdout]    |          `src` calls a custom destructor
[INFO] [stdout]    |          `src` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 59 |     bidi_copy_buf(&mut src, &mut dst, buf1, buf2).await.map(|_| ())
[INFO] [stdout]    |                                                   ^^^^^
[INFO] [stdout]    |                                                   |
[INFO] [stdout]    |                                                   this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |                                                   up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 60 | }
[INFO] [stdout]    | - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> realm_core/src/dns/mod.rs:53:43
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let DnsConf { conf, opts } = unsafe { DNS_CONF.take().unwrap() };
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 48 - static mut DNS_CONF: OnceCell<DnsConf> = OnceCell::new();
[INFO] [stdout] 48 + static DNS_CONF: OnceCell<DnsConf> = OnceCell::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> realm_core/src/dns/mod.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         DNS_CONF.set(dns_conf).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 48 - static mut DNS_CONF: OnceCell<DnsConf> = OnceCell::new();
[INFO] [stdout] 48 + static DNS_CONF: OnceCell<DnsConf> = OnceCell::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> realm_core/src/dns/mod.rs:94:14
[INFO] [stdout]    |
[INFO] [stdout] 94 |     unsafe { DNS.lookup_ip(ip).await.map_or_else(|e| Err(Error::other(e)), Ok) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 50 - static mut DNS: Lazy<TokioResolver> = Lazy::new(|| {
[INFO] [stdout] 50 + static DNS: Lazy<TokioResolver> = Lazy::new(|| {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking realm v2.9.4 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/conf/mod.rs (2 fixes)
[INFO] [stderr]    Migrating realm_core/tests/proxy_v2.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/consts.rs (2 fixes)
[INFO] [stderr]        Fixed src/conf/legacy/mod.rs (1 fix)
[INFO] [stderr]        Fixed src/conf/net.rs (3 fixes)
[INFO] [stderr]        Fixed src/conf/dns.rs (3 fixes)
[INFO] [stderr]    Migrating realm_core/tests/udp.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating realm_core/tests/tcp.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating realm_core/tests/proxy_v1.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 10s
[INFO] [stderr] crater-edition-check: realm_io v0.5.4 (/opt/rustwide/workdir/realm_io) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: realm_lb v0.1.0 (/opt/rustwide/workdir/realm_lb) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: realm_core v0.5.1 (/opt/rustwide/workdir/realm_core) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: realm_hook v0.1.5 (/opt/rustwide/workdir/realm_hook) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: realm_syscall v0.1.11 (/opt/rustwide/workdir/realm_syscall) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: realm v2.9.4 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking realm_core v0.5.1 (/opt/rustwide/workdir/realm_core)
[INFO] [stderr]     Checking realm_hook v0.1.5 (/opt/rustwide/workdir/realm_hook)
[INFO] [stderr]     Checking realm_syscall v0.1.11 (/opt/rustwide/workdir/realm_syscall)
[INFO] [stderr]     Checking realm_io v0.5.4 (/opt/rustwide/workdir/realm_io)
[INFO] [stderr]     Checking realm_lb v0.1.0 (/opt/rustwide/workdir/realm_lb)
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> realm_hook/src/pre_conn.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 |     unsafe { DYLIB.set(Library::new(path).unwrap()).unwrap() }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]  8 + static DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> realm_hook/src/pre_conn.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unsafe { DYLIB.get().is_some() }
[INFO] [stdout]    |              ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]  8 + static DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> realm_hook/src/pre_conn.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 |     call_ffi!(DYLIB, b"realm_first_pkt_len" => unsafe extern "C" fn() -> u32)
[INFO] [stdout]    |               ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]  8 + static DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> realm_hook/src/pre_conn.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         DYLIB, b"realm_decide_remote_idx" => unsafe extern "C" fn(i32, *const u8) -> i32,
[INFO] [stdout]    |         ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]  8 + static DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `realm_hook` (lib test) due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> realm_hook/src/pre_conn.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 |     unsafe { DYLIB.set(Library::new(path).unwrap()).unwrap() }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]  8 + static DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> realm_hook/src/pre_conn.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unsafe { DYLIB.get().is_some() }
[INFO] [stdout]    |              ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]  8 + static DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> realm_hook/src/pre_conn.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 |     call_ffi!(DYLIB, b"realm_first_pkt_len" => unsafe extern "C" fn() -> u32)
[INFO] [stdout]    |               ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]  8 + static DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> realm_hook/src/pre_conn.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         DYLIB, b"realm_decide_remote_idx" => unsafe extern "C" fn(i32, *const u8) -> i32,
[INFO] [stdout]    |         ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout]  8 - static mut DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]  8 + static DYLIB: OnceCell<Library> = OnceCell::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `realm_hook` (lib) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "961bdfb2bc940aa291f2459509e3339fa8e6369caf584ba44c7faf7835bd594d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "961bdfb2bc940aa291f2459509e3339fa8e6369caf584ba44c7faf7835bd594d", kill_on_drop: false }`
[INFO] [stdout] 961bdfb2bc940aa291f2459509e3339fa8e6369caf584ba44c7faf7835bd594d
